import { createApp } from 'vue'
import App from './App.vue'
import { Icon , Lazyload, Sticky, Tag, Swipe, SwipeItem, ActionBar, ActionBarIcon, ActionBarButton, Button, Image as VanImage, Loading, ImagePreview ,Popup, Dialog, Overlay   } from 'vant';
import {router} from './routes/router'

const app = createApp(App)

app.use(Lazyload)
app.use(Sticky)
app.use(Tag)
app.use(Swipe)
app.use(SwipeItem)
app.use(ActionBar)
app.use(ActionBarIcon)
app.use(ActionBarButton)
app.use(Button)
app.use(VanImage)
app.use(Loading)
app.use(ImagePreview)
app.use(Icon)
app.use(Popup)
app.use(Dialog)
app.use(Overlay)

app.use(router)

app.mount('#app')
